package com.woniuxy.shop.Service.Serviceimpl;

import com.hc.entity.Shop;
import com.woniuxy.shop.Mapper.ShopMapper;
import com.woniuxy.shop.Service.ShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *@ClassName shopServiceImpl
 *@Description
 *@Author TJ
 *@Date 2022/10/20 11:23
 *@Version 1.0
 **/
@Service
public class ShopServiceImpl implements ShopService {
    @Autowired
    ShopMapper shopMapper;
    @Override
    public Shop getByShopId(int id) {
        Shop shop = shopMapper.getByShopId(id);
        return shop;
    }
}
 